﻿namespace ChessToys.ChessController
{
    using ChessToys;

    /// <summary>
    /// Implemenatations make statement about wich <see cref="Color"/> stands better on the <see cref="Board"/>.
    /// </summary>
    public interface IBoardHeuristic
    {

        /// <summary>
        /// Calculates a heuristic for the specified board.
        /// &lt; 1 - advantage of white over black
        /// == 1   - balance of white and black
        /// > 1    - advantage of black ofer white
        /// </summary>
        /// <param name="board">The board.</param>
        /// <returns></returns>
        double Heuristic(Board board);
    }
}
